Release 10.1A: OpenEdge Development:
ADM Reference


formattedWidgetValue

Returns the SCREEN-VALUE of the object, or in the case of a browse column when in a ROW-DISPLAY trigger, the STRING-VALUE from the RowObject buffer field. The DataValue is returned for a SmartDataField (this would always be the key field for a lookup even where the display field is different). For example, you could use this function to get the formatted value of a single field to use for comparisons.

Location: visual.p

Parameters:

INPUT name AS CHARACTER

The name of a single Dynamics object.

Returns: CHARACTER

Notes: None

Examples:

The following illustrates the use of this method in 4GL code for use with a graphical user interface:

IF formattedWidgetValue("orderviewv.ordernum":U) > cNumber THEN …  

The following illustrates the use of this method in DHTML code for use with a Web browser:

if (logic.formattedWidgetValue(‘orderviewv.ordernum’)>cNumber) … 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095